export default {
  messages: {
    //通用部分
    search: {
      inputPlaceholder: "Please enter keywords for product name to search",
      inputOrderPlaceholder: "Please enter the order number to search",
      categoryPlaceholder: "Category",
      buttonText: "Search",
    },
    selectAll: {
      checkAllBoxText: "Select All",
      batchDeleteButtonText: "Batch Delete",
      deleteButtonText: "Delete",
      editButtonText: "Edit",
    },
    //根据页面划分
    bmanager: {
      ShoppingMall: "ShoppingMall",
      UserDetails: "UserDetails",
      MyLocations: "MyLocations",
      SwitchLanguage: "SwitchLanguage",
      Logout: "Logout",
    },
    index: {
      Productlist: "Productlist",
      Shoppingcart: "Shoppingcart",
      Collection: "Collection",
      MyOrder: "MyOrder",
      UserOrders: "UserOrders",
    },
    products: {
      stock: "stock",
      quantity: "quantity: ",
    },
    productDet: {
      backToProductList: "backToProductList",
      stock: "stock",
      quantity: "quantity",
      addToCart: "addToCart",
      buyNow: "buyNow",
      collect: "collect",
      collected: "collected",
      translate: "translate",
      addSuccess: "addSuccess",
      addFailed: "addFailed……",
      collectSuccess: "collectSuccess！",
      requestFailed: "requestFailed, please try again later",
    },
    shoppingcart: {
      loadingMessage: "Loading shopping cart data...",
      categoryPlaceholder: "Category",
      searchButtonText: "Search",
      batchOrderButtonText: "Batch Purchase",
      batchCollectButtonText: "Batch Collect",
      unitPriceText: "Unit Price: ",
      totalPriceText: "Total Price: ",
      deleteButtonText: "Delete",
      buyButtonText: "Buy",
      noProductsMessage: "There are no products in the shopping cart",
      selectItemsMessage: "Please select cart items first",
      selectProductsMessage: "Please select products first",
      batchCollectSuccessMessage: "Batch collection succeeded",
      batchDeleteSuccessMessage: "Batch deletion succeeded",
      deleteSuccessMessage: "Deletion succeeded",
      deleteErrorMessage: "Deletion failed. Please try again later",
      requestErrorMessage: "Request failed. Please try again later",
      getCategoriesErrorMessage: "Failed to get category data",
      getCategoriesRetryMessage:
        "Failed to get category data. Please try again later",
      getCartItemsErrorMessage:
        "Failed to get shopping cart items. Please try again later",
    },
    collection: {
      noProductsInCollection: "There are no products in the collection",
      getCollectionFailed:
        "Failed to get collection products, please try again later",
      getProductListFailed: "Failed to get product list",
      deleteCollectSuccess: "Successfully deleted the collection",
      deleteCollectFailed:
        "Failed to delete the collection, please try again later",
      batchDeleteSuccess: "Successfully deleted the collection in batch",
      batchDeleteFailed:
        "Failed to delete the collection in batch, please try again later",
      selectProductsToDelete: "Please select the products to delete",
    },
    myorder: {
      statusButtons: {
        all: "All",
        unpaid: "Pending Payment",
        unshipped: "Pending Shipment",
        unreceived: "Pending Receipt",
        completed: "Completed",
      },
      orderList: {
        orderId: "Order ID: ",
        orderStatus: "Transaction Status: ",
        totalPrice: "Order Amount:  ",
        pay: "Go to Payment",
        packup: "Packing",
        ogistics: "View Logistics",
        afterSales: "Apply for After-sales",
        viewHistory: "View After-sales History",
        cancelOrder: "Cancel Order",
      },
      applyDialog: {
        title: "Apply for After-sales",
        form: {
          saleType: {
            label: "After-sales Type",
            placeholder: "Please select the after-sales type",
            options: {
              refund: "Return and Refund",
              onlyRefund: "Only Refund",
              exchange: "Exchange",
            },
          },
          title: {
            label: "Problem Title",
            placeholder: "Please enter the problem title",
          },
          description: {
            label: "Problem Description",
            placeholder:
              "Please describe the problem you encountered in detail",
          },
          upload: {
            label: "Upload Vouchers",
          },
          buttons: {
            cancel: "Cancel",
            submit: "Submit Application",
          },
        },
      },
      statusDialog: {
        title: "After-sales Status Details",
        steps: {
          submit: {
            title: "Submit Application",
            description:
              "Your application has been submitted and is waiting for the merchant to process",
          },
          processing: {
            title: "Merchant Processing",
            description: "The merchant is processing your request",
          },
          completed: {
            title: "Processing Completed",
            description: "Your after-sales application has been processed",
          },
        },
        applicationInfo: {
          title: "Application Information:",
          saleType: "After-sales Type: ",
          problemTitle: "Problem Title: ",
          problemDescription: "Problem Description: ",
        },
        evidence: {
          title: "Uploaded Vouchers:",
        },
      },
      historyDialog: {
        title: "After-sales Record List",
        table: {
          columns: {
            applicationId: "Application ID",
            productTitle: "Problem Title",
            saleType: "Type",
            action: "Action",
          },
          actions: {
            view: "View",
          },
          buttons: {
            close: "Close",
          },
        },
      },
      logisticsDialog: {
        title: "Logistics Information",
        info: {
          logisticsNo: "Logistics Number: ",
          logisticsCompany: "Logistics Company: ",
          logisticsStatus: "Logistics Status: ",
        },
        buttons: {
          close: "Close",
        },
      },
      messages: {
        fetchOrdersFailed:
          "Failed to fetch order data. Please try again later.",
        cancelOrderSuccess: "Order cancelled successfully.",
        cancelOrderFailed:
          "Failed to cancel the order. Please try again later.",
        getLogisticsFailed:
          "Failed to get logistics information. Please try again later.",
        applyAfterSalesSuccess:
          "After-sales application submitted successfully.",
        applyAfterSalesFailed: "Failed to submit the after-sales application: ",
        applyIdParseFailed:
          "Application succeeded but failed to parse the application ID.",
        noHistoryRecords:
          "There are no historical after-sales records for this order.",
        getHistoryFailed: "Failed to get historical after-sales records: ",
        getHistoryError:
          "Failed to get historical after-sales records. Please try again later.",
        invalidApplyId: "Invalid application ID.",
        getDetailFailed: "Failed to get after-sales details: ",
        getDetailError:
          "Failed to get after-sales details. Please try again later.",
      },
    },
    userorder: {
      avatar: "Avatar",
      username_not_set: "Not Set",
      no_phone_number: "No Phone Number",
      shipping_address: "Shipping Address",
      my_orders: "My Orders",
      unpaid: "Unpaid",
      unshipped: "Unshipped",
      unreceived: "Unreceived",
      refund_after_sales: "Refund/After-sales",
      fetch_user_info_failed: "Failed to fetch user information!",
      request_error: "Request error, please try again later!",
      fetch_order_data_failed:
        "Failed to fetch order data, please try again later",
    },
    userdet: {
      backButtonText: "Back",
      cardHeader: "Personal Information",
      usernameLabel: "Username: ",
      phoneLabel: "Phone Number: ",
      addressLabel: "Address: ",
      roleLabel: "Role: ",
      noUsername: "Not Set",
      noPhone: "No phone number available",
      noAddress: "No address available",
      noRole: "Role not set",
      loadingText: "Loading...",
      fetchError: "Failed to fetch user information!",
      requestError: "Request error. Please try again later!",
    },
    userLocation: {
      provincePlaceholder: "province",
      cityPlaceholder: "city",
      districtPlaceholder: "district",
      streetAddressPlaceholder: "streetAddress",
      backButtonText: "Back",
      pageTitle: "My Shipping Addresses",
      addAddressButtonText: "Add Address",
      consigneeLabel: "Consignee",
      phoneLabel: "Phone/Mobile",
      addressLabel: "Detailed Address",
      operationLabel: "Operation",
      defaultAddressLabel: "Default Setting",
      defaultTagText: "Default Address",
      setDefaultButtonText: "Set as Default",
      addAddressModalTitle: "Add Shipping Address",
      editAddressModalTitle: "Edit Shipping Address",
      saveButtonText: "Save",
      cancelButtonText: "Cancel",
      addressInfoIncomplete:
        "Address information is incomplete. Please fill it out completely.",
      phoneNumberTooLong: "Phone number cannot exceed eleven digits.",
      addAddressSuccess: "Address added successfully!",
      addAddressFailure: "Failed to add address.",
      addAddressRetry: "Failed to add address. Please try again later.",
      editAddressNoInfo: "There is no address information to edit.",
      editAddressSuccess: "Address updated successfully!",
      editAddressFailure: "Failed to update address.",
      editAddressRetry: "Failed to update address. Please try again later.",
      deleteAddressInvalidIndex: "Invalid index.",
      deleteAddressSuccess: "Address deleted successfully!",
      deleteAddressFailure: "Failed to delete address.",
      setDefaultAddressInvalidIndex: "Invalid index.",
      setDefaultAddressSuccess: "Default address set successfully!",
      setDefaultAddressFailure: "Failed to set default address.",
      setDefaultAddressRetry:
        "Failed to set default address. Please try again later.",
      getAddressDataFailure: "Failed to get address data.",
      getAddressDataRetry:
        "Failed to get address data. Please try again later.",
    },
    payment: {
      back: "Back",
      default: "default",
      confirm_shipping_address: "Confirm shipping address",
      manage_address: "Manage address",
      show_all_address: "Show all addresses",
      collapse_all_address: "Collapse all addresses",
      confirm_order_info: "Confirm order information",
      store_products: "Store products",
      product_name: "Product name",
      original_price: "Original price",
      quantity: "Quantity",
      subtotal: "Subtotal",
      total_product_price: "Total product price:",
      total_product_quantity: "Total product quantity:",
      select_payment_method: "Please select a payment method",
      alipay: "Alipay",
      wechat: "WeChat Pay",
      bankcard: "Bank card",
      submit_order: "Submit order",
      pay: "Pay now",
      scan_qr_code: "Please scan the QR code below to make the payment",
      payment_complete: "Payment completed",
      select_payment_method_prompt: "Please select a payment method",
      select_shipping_address_prompt: "Please select a shipping address",
      order_creation_success: "Order created successfully!",
      order_creation_failure: "Order creation failed",
      order_creation_request_error:
        "Order creation request error. Please try again later.",
      get_payment_qr_code_failure:
        "Failed to get the payment QR code. Please try again later.",
      get_address_data_failure: "Failed to get address data",
      get_address_data_failure_retry:
        "Failed to get address data. Please try again later.",
    },
  },
};
